Hi,
have you tried to use a relative path to your Package.swift file?
"Sources/SampleFramework/framework.xcframework"
Best,
Boris
iOS dev
Post
Replies
Boosts
Views
Activity
Hi all,
I came across the same issue when adding -debug-symbols to xcframework, which resulted with following error:
error: the path does not point to a valid debug symbols
I resolved it by using the absolute path when referencing the dSYM/BCSymbolmap files
So instead of using the relative path when referencing eg dSYM file
xcodebuild -create-xcframework
					 -framework myFramework-iOS.xcarchive/Products/Library/Frameworks/myFramework.framework
					 -debug-symbols myFramework-iOS.xcarchive/dSYMs/myFramework.framework.dSYM
					 ...
I would use the absolute path
xcodebuild -create-xcframework
					 -framework myFramework-iOS.xcarchive/Products/Library/Frameworks/myFramework.framework
					 -debug-symbols ~/myFolder/myFramework-iOS.xcarchive/dSYMs/myFramework.framework.dSYM
					 ...
This way, the dSYM was properly integrated into final xcframework. Hope this helps somebody.
Hi
I'm experiencing the exact problem.
I even tried to restart my mac with no luck.